package org.nox.helloseries.web.client;

import java.util.List;
import java.util.Map;

import org.nox.helloseries.web.client.metier.Application;
import org.nox.helloseries.web.client.metier.SerieWeb;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface HelloSeriesServiceAsync
{
    void getStatutsHelloSeries( AsyncCallback<Map<Application, Boolean>> callback );

    void getData( AsyncCallback<List<SerieWeb>> callback );

    void setData( List<SerieWeb> data, AsyncCallback<Void> callback );
}
